Add GString 'text' to the property info structure. Used to accumulate
authorRyan Lortie <desrt@desrt.ca>
Thu, 8 Nov 2007 04:12:52 +0000 (04:12 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 8 Nov 2007 04:12:52 +0000 (04:12 +0000)
commit36605333d010aade674ef8285ec087569f11156b
treeab867b133dba410e987b01f2ea610e56366bc8e3
parent9b3edbc319afccf221ad0ce75061e6c364572964
Add GString 'text' to the property info structure. Used to accumulate

2007-11-07  Ryan Lortie  <desrt@desrt.ca>

        * gtk/gtkbuilderprivate.h: Add GString 'text' to the property info
        structure.  Used to accumulate property text across multiple 'text'
        calls.

        * gtk/gtkbuilderparser.c: Instead of translating/copying text on each
        'text' call while in <property> accumulate the text until the end and
        do it all in one go.  This fixes handling of <!-- --> inside
        properties as well as <property/> cases.

svn path=/trunk/; revision=18970
ChangeLog
gtk/gtkbuilderparser.c